﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="jq_company_autocomplete.aspx.cs" Inherits="temp_jq_company_autocomplete" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>ajax of jquery</title>
    <script type="text/javascript" src="../jquery/autocomplete/lib/jquery.js"></script>
    <script type='text/javascript' src='../jquery/autocomplete/lib/jquery.bgiframe.min.js'></script>
    <script type='text/javascript' src='../jquery/autocomplete/lib/jquery.ajaxQueue.js'></script>
    <script type='text/javascript' src='../jquery/autocomplete/lib/thickbox-compressed.js'></script>
    <link rel="stylesheet" type="text/css" href="../jquery/autocomplete/lib/thickbox.css" />
    <script type='text/javascript' src='../jquery/autocomplete/jquery.autocomplete.js'></script>    <link rel="stylesheet" type="text/css" href="../jquery/autocomplete/jquery.autocomplete.css" />

    <script type='text/javascript' src='../jquery/autocomplete/localdata.js'></script>
	<script language="javascript" type="text/javascript">        var companylist = ["ADK（福州）东南汽车品牌服务中心","ADK上海媒介中心","BBDC","BENQ","bosch","BOSE ","bp","BP中国","Breitling 百年灵表","certina 雪铁纳表","CPFilms(美国) 上海代表处","DMG","ELF","EURO","Fcaca","Groupm","KOHLER","LG电子","LVMH-ZENITH WATCH","MAXUS","MEDIACOM","MIDO 美度表","Mindshare","MOTO","Nikon公司","omega","ORIS 豪利时表","PPG","Skoda汽车中国（直属上海大众）","YOKOHAMA","阿尔派电子","埃尔夫润滑油（广州）有限公司","安徽江淮汽车股份有限公司乘用车营销公司","安吉黄帽子","奥迪","奥迪（中国）","奥迪北京办公室","奥林巴斯（上海）映像销售有限公司","奥美公关","百达翡丽","百富门酒类贸易","宝马(中国)","宝马集团 大中华区","保时捷中国 捷成（中国）汽车销售有限公司","北京奔驰-戴勒姆.克莱斯勒汽车有限公司","北京博报堂","北京迪思公关顾问有限公司","北京东方博远公关咨询有限公司PRIME","北京广告公司","北京瀚天广告","北京惠通陆华汽车销售有限公司","北京金特尔信公关顾问有限公司","北京精音致信公关顾问有限公司","北京聚势天成公关广告有限公司","北京聚势天成国际文化传播有限公司","北京灵思企业管理顾问有限公司","北京陆鼎","北京品美智信传媒科技有限公司","北京世纪北广","北京统一石油化工有限公司","北京无限动能营销顾问有限公司","北京现代汽车有限公司","北京新势整合公关顾问有限公司","北京宣亚智慧行动营销","北京燕宝汽车服务有限公司","北京银特企业管理咨询有限公司","北京中广群星公关策划有限公司","北京中汽南方华北汽车服务有限公司","倍耐力","奔驰汽车","本田技研工业（中国）投资有限公司","比亚迪","标致进口","标致雪铁龙集团－中国事业部","博诚智杰公关咨询有限公司","博睿传播","博世贸易（上海）有限公司","博世汽车部件（苏州）有限公司","博雅公关","长安福特","长安马自达","长城汽车股份有限公司（保定）","车盟","车闻公关","传立","传世知行公关公司","达彼思广告","大法工业株式会社中国事务所（北京）","大连固特异有限公司上海办事处","大陆马牌轮胎贸易（上海有限公司）","大众奥迪","大众汽车（中国）投资有限公司","大众汽车集团中国(长春一汽)","戴姆勒-克莱斯勒（中国）投资有限公司","德国宝马汽车公司北京代表处","德国大众与大众中国","德国国家旅游局北京办事处","邓禄普轮胎","电通传媒","电通广告","东方仁德公关策划有限公司","东方仁德广告有限公司","东方日海","东方三盟公共关系策划有限公司","东风本田汽车有限公司","东风标致","东风日产乘用车公司","东风雪铁龙","东风悦达起亚汽车有限公司","东南（福建）汽车工业有限公司","发","法国标致汽车公司北京联络处","法国旅游局","法拉利玛莎拉蒂汽车国际贸易（上海）有限公司","菲亚特汽车公司驻华代表处(南京)","芬兰旅游局","丰田汽车（中国）投资有限公司","福建旭通广告有限公司","福莱（中国）国际传播咨询","福特汽车（中国）有限公司","福田","葛莱思公关顾问有限公司","广东省广博报堂广告有限公司","广东省广告公司－三赢","广东省广告有限公司","广汽丰田四季青店","广州本田汽车有限公司","广州丰田汽车有限公司","国家体育总局汽车摩托车运动管理中心","哈飞集团哈飞汽车股份有限公司（哈尔滨）","海辰恒达公关顾问有限公司","海南马自达销售有限公司","海南一汽海马汽车销售有限公司","韩泰轮胎有限公司","瀚天广告","浩腾媒体","横滨轮胎","湖南长丰汽车销售有限责任公司","华晨宝马汽车有限公司 ","华硕电脑","际恒公关顾问机构","佳通轮胎","嘉利公关顾问公司","江铃陆风汽车营销公司","江苏悦达起亚汽车有限公司 北京办事处","江西昌河汽车股份有限公司","捷豹 路虎 中国","金润嘉华广告公司","锦湖（中国）轮胎销售有限公司","精工贸易有限公司","竞立媒体","聚势国际","凯络媒体（中国）","壳牌","克莱斯勒（中国）汽车销售有限公司","快意汽车有限公司","蓝色光标公关机构","朗明公共关系有限公司","劳斯莱斯汽车有限公司","雷达表","雷克萨斯中国","雷诺 北京代表处","励骏汽车有限公司（法拉利玛莎拉蒂）","灵锐媒体","铃木中国","路虎中国","路拓（上海）地理软件系统有限公司","路威酩轩钟表珠宝-上海代表处","罗德公共关系顾问（北京）有限公司","马自达（中国）企业管理有限公司","麦肯光明广告有限公司","梅赛德斯-奔驰（中国）汽车销售有限公司","美津浓体育用品有限公司","米其林（中国）投资有限公司","酩悦轩尼诗帝亚吉欧洋酒（上海）有限公司","南京菲亚特汽车有限公司商务部","南京名爵（MG)汽车有限公司","诺基亚（中国）投资有限公司","欧司朗（中国）照明有限公司","帕格索斯公关顾问","普利司通（中国）投资有限公司","奇瑞汽车销售有限公司（安徽）","起亚汽车（中国）","日产（中国）投资有限公司","瑞表国际","瑞典沃尔沃汽车有限公司 北京代表处","三大腾飞（北京）方程式运动有限公司","三菱商事（上海）有限公司","三星","上海大众汽车有限公司","上海东派广告有限公司","上海华普汽车","上海灵狮广告有限公司","上海世贸汽车(沃尔沃)","上海通用卡迪拉克","上海通用汽车","上海外经贸广告有限公司","上海新畔市场营销策划咨询有限公司","上海旭通广告有限公司","上汽汽车","上汽通用五菱","尚扬媒介","舍弗勒贸易（上海）有限公司","时空视点","实力媒体","世爵.北京","首席汽车集团 Premier Automotive Group","双龙汽车","斯堪的纳维亚旅游局","斯堪尼亚（中国）","苏州宇达电通有限公司","索爱手机","索尼","太古资源","天津一汽汽车销售有限公司","天津一汽夏利汽车股份有限公司","通用汽车 中国","威可多制衣","微软","伟达（中国）公关顾问有限公司","我是大卫市场营销 奥美集团","无单位名称","西岸奥美（北京）信息咨询服务有限公司 ","西班牙大使馆旅游处","西门子家电","西铁城","先锋电子","现代中国","新恒基广告","新日石（上海）贸易有限公司","新势整合公关公司","新元素传播","宣亚国际公关 / 智杰公关顾问有限公司","雪铁龙（进口）","一汽-大众销售北京分公司","一汽-大众销售有限公司","一汽丰田汽车销售有限公司","一汽红旗","一汽轿车销售公司","一汽轿车销售有限公司北京分公司","一汽马自达汽车销售有限公司","易为公关","优势麦肯","宇达电通","运中公关顾问有限公司","哲基公关","浙江吉利控股集团有限公司","正新轮胎（中国）有限公司","郑州日产汽车有限公司","中广群星公关策划公司","中国惠普有限公司","中国汽车技术研究中心（天津）","中兴汽车","重庆力帆","住友橡胶"]
	    function GetNameList()	    {	        $.ajax({	            async: true,	            url:'../ajax/companyabbs.ashx',	            type:'get',	            dataType:'html',	            timeout:1000,	            beforeSend:function()	            {	                $("#namelist").empty().append("<img id='loading' src='../images/loading2.gif' />");	            },	            complete:function()	            {	                $("#loading").remove();	            },	            error:function()	            {	                alert('ajax read error!');	            },	            success: function(msg)	            {	                $("#namelist").append(msg);	                //cities2[msg];	                $("#mynames").autocomplete(companylist);	            }	        });	    };
	    $(document).ready(function(){GetNameList();});	</script></head>
<body>
    <form id="form1" runat="server" autocomplete="off">
    <div>
        <input type="text" id="mynames" />
        <div id="namelist"></div><span style="font-size: 10pt; font-family: 宋体;"></span>
    </div>
    </form>
</body>
</html>
